import request from '@/utils/request'

// 查询商家结算信息列表
export function settleList(query) {
  return request({
    url: '/sheneye/merchant/settle/v1/list',
    method: 'get',
    params: query
  })
}
// 查询神椰分红池详情
export function settleDetail(id) {
  return request({
    url: '/sheneye/merchant/settle/v1/detail/' + id,
    method: 'get',
  })
}
// 手动结算
export function manualSettlement(data) {
  return request({
    url: '/sheneye/merchant/settle/v1/settle',
    method: 'post',
    data
  })
}
// 商户结算操作人列表
export function settleV1OperatorList() {
  return request({
    url: '/sheneye/merchant/settle/v1/operator/list',
    method: 'get'
  })
}
